<script id="gisPopUpMenu-template" type="text/x-dot-template">
	<div id="sortable_panels">
		<h3 class="heading">{{= it.mineName}}-菜单</h3>
		<div class="row-fluid">
			<div class="span12">
				<ul class="dshb_icoNav tac">
					<li><a href="#" onclick="showKjModal('{{= it.mineName}}','{{= it.mineNo}}');return false;" style="background-image: url(img/gCons/green/lookup.png)">KJ监控</a></li>
					<li><a href="#" onclick="showPeopleModal('{{= it.mineName}}','{{= it.mineNo}}');return false;" style="background-image: url(img/gCons/blue/multi-agents.png)">人员定位</a></li>
					<li><a href="#" onclick="showAlarmModal('{{= it.mineName}}','{{= it.mineNo}}');return false;" style="background-image: url(img/gCons/red/light.png)">报警数据</a></li>
				</ul>
			</div>
		</div>
   	</div>
</script>
<script id="locationInfoMenu-template" type="text/x-dot-template">
	<p class="formSep"><strong>矿点名:</strong>{{= it.mineName}}</p>
	<p><strong>当前状态:</strong></p>
	{{? it.state === 0}}
	<div class="formSep alert alert-success">
  		<h4>提示:</h4>
  		状态正常!
	</div>
	{{?}}
	{{? it.state === 1}}
	<div class="formSep alert alert-color_yellow">
  		<h4>警告!</h4>
  		一级报警!
	</div>
	{{?}}
	{{? it.state === 2}}
	<div class="formSep alert alert-block">
  		<h4>警告!</h4>
  		二级报警!
	</div>
	{{?}}
	{{? it.state === 3}}
	<div class="formSep alert alert-error">
  		<h4>警告!</h4>
  		三级报警!
	</div>
	{{?}}
	{{? it.state === 4}}
	<div class="formSep alert alert-color_gray">
  		<h4>警告!</h4>
  		数据通信中断!
	</div>
	{{?}}
	<p><strong>详情:</strong></p>
	<div class="formSep">
		<table class="table">
              <thead>
                <tr>
                  <th>标题</th>
                  <th>内容</th>
                </tr>
              </thead>
              <tbody>
				{{? it.info}}
					{{ for(var prop1 in it.info) { }}
                	<tr class="{{? it.info[prop1].level ===0 }}success{{?}}{{? it.info[prop1].level ===1 }}color_yellow{{?}}{{? it.info[prop1].level ===2 }}warning{{?}}{{? it.info[prop1].level ===3 }}error{{?}}{{? it.info[prop1].level ===4 }}{{?}}">
                  		<td>{{= it.info[prop1].title}}</td>
                  		<td>{{= it.info[prop1].content}}</td>
                	</tr>
					{{ } }}
				{{?}}
              </tbody>
            </table>
	</div>
</script>
												